package com.knowledge.graph.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author jiwenlong
 * @version 1.0
 * @description: Video实体类
 * @date 2023/11/7 14:48
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("video")
public class Video {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String videoName;

    private String videoAddress;

    private String imageAddress;

    public Video(String videoName, String videoAddress, String imageAddress) {
        this.videoName = videoName;
        this.videoAddress = videoAddress;
        this.imageAddress = imageAddress;
    }
}
